package com.service;

import com.bean.Admin;
import com.dao.AdminDao;

public class AdminService {
	private Admin admin;
	private AdminDao ad = new AdminDao();
	
	public Admin getAdmin() {
		return admin;
	}
	public void setAdmin(Admin admin) {
		this.admin = admin;
	}
	public int loginByAdmin(){
		return ad.loginByAdmin(admin);
	}
	
}
